# $Id: PKGBUILD 151256 2012-02-25 10:07:40Z allan $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=fixesproto
pkgver=5.0
pkgrel=2
pkgdesc="X11 Fixes extension wire protocol"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'xextproto')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('ab605af5da8c98c0c2f8b2c578fed7c864ee996a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
